package com.hiv;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 启动入口
 */
@SpringBootApplication(scanBasePackages = {"com.hiv"})
@EnableTransactionManagement
@EnableScheduling
@EnableSwagger2
@MapperScan("com.hiv.mapper")
public class Application {

	public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
	}
}